#define  _CRT_SECURE_NO_WARNINGS 1
#pragma once
#include<assert.h>
#include<stdlib.h>
#include<stdio.h>
#define MIN 4
 typedef struct tourist
{
	 char name[100];
	 char level;
	 int number;
	 int days;
	 int money;
	 char belong[100];
	 struct tourist* next;
}tourist;
 typedef struct data
 {
	 tourist* TI;
	 int size;
	 int capacity;
 }Data;

void menu();
void game(int i,Data* data);
tourist* Add ();
void Decrease(Data* data);
void Show(Data* data);
tourist* Find(Data* data);
void Sort(Data* data);
void swap(tourist* p, tourist* q);
void Change(Data* data);


tourist* INInteNode(tourist* node);
tourist* CreatData();
Data* INInteData(Data* data);
void save(Data* data);
void LoadTAIMS(Data* data);




